package com.babble.subitem.feign;

import org.springblade.common.constant.CommonConstant;
import org.springblade.common.exception.MsgException;
import org.springblade.core.tool.api.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(
	value = CommonConstant.BABBLE_SUBITEM_NAME
)
public interface ISubjectClient {
	String API_PREFIX = "/babble/subject";

	/**
	 * 添加子项
	 *
	 * @param
	 * @return
	 */
	@GetMapping(API_PREFIX + "/getSubjcetIsId")
	 R getSubjcetIsId(@RequestParam("id") String id) throws MsgException;

}
